﻿using System;
using System.Data;
using System.Collections;

/// <summary>
/// Summary description for TASelectedInsurance
/// </summary>
/// 
namespace CE.TravelInsurance
{
    public class TASelectedInsurance
    {
        public TASelectedInsurance()
        {
            //
            // TODO: Add constructor logic here
            //
            ClearFields();
        }

        private Int64 _taselectitemid;
        private Int64 _taappseaid;
		private Int64 _tainsid;
		private Int64 _providercompanyid;
		private Int32 _nooftimesselect;
        private float _annualpremium;
		private Int64 _refceuserid;
		private bool _status;
		private DateTime _createdate;
        private DateTime _modifieddate;

        public Int64 TASelectItemId
        {
            get { return _taselectitemid; }
            set { _taselectitemid = value; }
        }
        
        public Int64 TAAppSeaId
        {
            get { return _taappseaid; }
            set { _taappseaid = value; }
        }
        
        public Int64 TAInsId
        {
            get { return _tainsid; }
            set { _tainsid = value; }
        }
        
        public Int64 ProviderCompanyId
        {
            get { return _providercompanyid; }
            set { _providercompanyid = value; }
        }
        
        public Int32 NoOfTimesSelect
        {
            get { return _nooftimesselect; }
            set { _nooftimesselect = value; }
        }

        public float AnnualPremium
        {
            get { return _annualpremium; }
            set { _annualpremium = value; }
        }

        public Int64 RefCEUserId
        {
            get { return _refceuserid; }
            set { _refceuserid = value; }
        }
        
        public bool Status
        {
            get { return _status; }
            set { _status = value; }
        }
        
        public DateTime CreateDate
        {
            get { return _createdate; }
            set { _createdate = value; }
        }

        public DateTime ModifiedDate
        {
            get { return _modifieddate; }
            set { _modifieddate = value; }
        }
        
        public void ClearFields()
        {
            _taselectitemid = 0;
            _taappseaid = 0;
            _tainsid = 0;
            _providercompanyid = 0;
            _nooftimesselect = 0;
            _annualpremium = 0;
            _refceuserid = 0;
            _status = true;
            _createdate = DateTime.Parse("1/1/1900");
            _modifieddate = DateTime.Parse("1/1/1900");

        }

    }
}